package main

import (
	_ "github.com/go-sql-driver/mysql"
	"gorm-demo/global"
	"gorm-demo/route"
)

func main() {
	global.InitGlobal()
	err := route.InitRoute().Run("localhost:8080")
	if err != nil {
		panic(err)
	}
}
